package com.detrum.sportcamera.finals;

/**
 * Created by chenlei on 2017/4/6.
 * 命令操作常量
 */

public class NfsNetFinal {

    // 登陆
    public static final int LOGIN = 0x10;

    // 登出
    public static final int LOGOUT = 0x12;

    // 心跳
    public static final int HEART = 0x14;

    // 设置时间
    // data两个整数，第一个时间戳，第二个时区 单位S
    public static final int SETTIME = 0x15;

    //返回版本信息--两个字符串
    public static final int FW_VERSION = 0x16;

    //返回是否正在录像状态
    public static final int CUR_STATUS = 0x17;

    //返回电池电量信息
    public static final int BAT_REMAIN = 0x18;

    // 开始实时视频
    public static final int START_RTP = 0x20;

    // 停止实时视频
    public static final int STOP_RTP = 0x22;

    // 录像设置 -- 录像方式 -- 循环录像
    public static final int SET_RECORD_POLICY = 0x30;

    // 录像设置 -- 录像方式 -- 循环录像
    public static final int GET_RECORD_POLICY = 0x32;

    // 录像设置 -- 录像时间设置
    public static final int SET_RECORD_MODE = 0x34;

    // 录像设置 -- 得到当前设置的录像时间
    public static final int GET_RECORD_MODE = 0x36;

    // 录像设置 -- 录像分辨率设置
    public static final int SET_RECORD_RESOLUTION = 0x38;

    // 录像设置 -- 得到当前设置的录像分辨率
    public static final int GET_RECORD_RESOLUTION = 0x3A;

    // 录像设置 -- 码率
    public static final int SET_RECORD_QUALITY = 0x3C;

    // 录像设置 -- 码率
    public static final int GET_RECORD_QUALITY = 0x3E;

    // 开始录像
    public static final int START_RECORD = 0x40;

    // 暂停录像
    public static final int PAUSE_RECORD = 0x42;

    // 停止录像
    public static final int STOP_RECORD = 0x44;

    // 拍照设置
    public static final int PHOTO_RESOLUTION = 0x50;

    // 开始拍照
    public static final int TAKE_PHOTO = 0x52;

    //拍照后照片名
    public static final int PHOTO_NAME = 0x54;

    //录像后的文件名
    public static final int VIDEO_NAME = 0x55;

    // 设置白平衡模式
    public static final int SET_WB_MODE = 0x60;

    // 得到当前白平衡模式
    public static final int GET_WB_MODE = 0x62;

    //OSD模式是否开启
    public static final int D_CAM_SET_OSD = 0x64;

    //OSD模式是否开启
    public static final int D_CAM_GET_OSD = 0x66;

    // 曝光设置
    public static final int SET_EXPOSURE_MODE = 0x70;

    // 得到当前曝光设置
    public static final int GET_EXPOSURE_MODE = 0x72;

    // 存储信息
    public static final int GET_SD_INFO = 0x80;

    //输出制式
    public static final int D_CAM_GET_TV_MODE = 0x92;

    //输出制式
    public static final int D_CAM_SET_TV_MODE = 0x94;

    //固件升级
    public static final int D_CAM_DO_UPGRADE = 0xb0;

    // 恢复默认设置
    public static final int RECOVERY_DEFAULT_SET  = 0xa0;

}
